header
<ios>
Input-Output base classes
Header providing base classes and types for the IOStream hierarchy of classes:
click on an element for detailed information
Types
Class templates
- basic_ios
- Base class for streams (type-dependent components) (class template)
- fpos
- Stream position class template (class template)
Classes
- ios
- Base class for streams (type-dependent components) (class)
- ios_base
- Base class for streams (class)
- wios
- Base class for wide character streams (class)
Other types
- io_errc
- Input/output error conditions (enum class)
- streamoff
- Stream offset type (type)
- streampos
- Stream position type (type)
- streamsize
- Stream size type (type)
- wstreampos
- Wide stream position type (type)
Format flag manipulators (functions)
Independent flags (switch on):
- boolalpha
- Alphanumerical bool values (function)
- showbase
- Show numerical base prefixes (function)
- showpoint
- Show decimal point (function)
- showpos
- Show positive signs (function)
- skipws
- Skip whitespaces (function)
- unitbuf
- Flush buffer after insertions (function)
- uppercase
- Generate upper-case letters (function)
Independent flags (switch off):
- noboolalpha
- No alphanumerical bool values (function)
- noshowbase
- Do not show numerical base prefixes (function)
- noshowpoint
- Do not show decimal point (function)
- noshowpos
- Do not show positive signs (function)
- noskipws
- Do not skip whitespaces (function)
- nounitbuf
- Do not force flushes after insertions (function)
- nouppercase
- Do not generate upper case letters (function)
Numerical base format flags ("basefield" flags):
- dec
- Use decimal base (function)
- hex
- Use hexadecimal base (function)
- oct
- Use octal base (function)
Floating-point format flags ("floatfield" flags):
- fixed
- Use fixed floating-point notation (function)
- scientific
- Use scientific floating-point notation (function)
Adustment format flags ("adjustfield" flags):
- internal
- Adjust field by inserting characters at an internal position (function)
- left
- Adjust output to the left (function)
- right
- Adjust output to the right (function)
Other functions
- iostream_category
- Return iostream category (function)
Notice that not all standard manipulators are defined in this header. Input streams also support ws , and output streams endl , ends and flush . Streams also support an additional set of manipulators, which are parametric and defined apart in header <iomanip>. These are: setiosflags, resetiosflags, setbase, setfill, setprecision, setw